<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>学习任务管理系统</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <script th:src="@{/layui/layui.js}" ></script>
    <script th:src="@{/js/common.js}" ></script>
    <link th:href="@{/images/favicon.ico}" rel="icon">
    <script type="text/javascript" th:src="@{/js/assignmentTask/assignmentTask_add.js}"></script>
</head>
<body>
<form class="layui-form" id="replaceMaintainForm" lay-filter="replaceMaintainForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">任务名称<span style="color: red;"></span></label>
                        <div class="layui-input-block">
                            <input id="taskName" name="taskName" placeholder="请输入任务名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">任务所属人<span style="color: red;"></span></label>
                        <div class="layui-input-block">
                            <select id="userId" name="userId">
                                <option th:each="user:${users}" th:value="${user.id}" th:text="${user.userName}"></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center" style="text-align: center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit id="submit">&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>
</body>
</html>